package com.baizhi.service;

import com.baizhi.entity.News;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface NewsService {
    List<News> selectAll();
    PageInfo<News> selectByPage(int pageNo,int pageSize);
    void insert(News news);
}
